package com.java.base.exercise.lambda;

/**
 * @Author RenPu
 * @Date 2023/5/24 15:30
 * @Version 1.0
 * @Description:定义函数式接口
 **/

@FunctionalInterface
public interface BranchHandler {

    void booleanChoose(Runnable trueHandler,Runnable falseHandler);


}
